
import { getdata } from './request.js'
// 景区列表
export const getScenic = async (data) => {
	return getdata({
		url: 'index.php/api/admin/getScenic',
		method: 'get',
		data
	})
}
// 用户登录
export const login = async (data) => {
	return getdata({
		url: 'index.php/api/admin/login',
		method: 'post',
		data
	})
}


// 获取核销列表
export const getAdminVerifys = async (data) => {
	return getdata({
		url: 'index.php/api/admin/getAdminVerifys',
		method: 'post',
		data
	})
}

// 获取核销详情
export const getVerifyInfo = async (data) => {
	return getdata({
		url: 'index.php/api/admin/getVerifyInfo',
		method: 'post',
		data
	})
}


// 获取贵宾卡核销记录
export const getVerifyLog = async (data) => {
	return getdata({
		url: 'index.php/api/admin/getVerifyLog',
		method: 'post',
		data
	})
}
// 核销统计
export const getStatic = async (data) => {
	return getdata({
		url: 'index.php/api/admin/getStatic',
		method: 'post',
		data
	})
}
// 核销
export const verify = async (data) => {
	return getdata({
		url: 'index.php/api/admin/verify',
		method: 'post',
		data
	})
}

